﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SwenAssignment3.Classes
{
    public class CreditCard
    {
        private string ccNo;
        private string cardholderName;
        private string guestID;
        private string cardType;
        private DateTime cardExpiryDate;

        public CreditCard()
        {
        
        }

        public CreditCard (string ccNo, string cardholderName, string guestID, string cardType, DateTime cardExpiryDate)
        {
            this.ccNo = ccNo;
            this.cardholderName = cardholderName;
            this.guestID = guestID;
            this.cardType = cardType;
            this.cardExpiryDate = cardExpiryDate;
        }

        public string CCNo
        {
            get { return ccNo; }
            set { ccNo = value; }
        }

        public string CardholderName
        {
            get { return cardholderName; }
            set { cardholderName = value; }
        }

        public string GuestID
        {
            get { return guestID; }
            set { guestID = value; }
        }

        public string CardType
        {
            get { return cardType; }
            set { cardType = value; }
        }

        public DateTime CardExpiryDate
        {
            get { return cardExpiryDate; }
            set { cardExpiryDate = value; }
        }
    }
}